x86/mm: Add a generic interface for vtd and amd iommu p2m sharing.
authorWei Wang <wei.wang2@amd.com>
Mon, 18 Apr 2011 16:24:21 +0000 (17:24 +0100)
committerWei Wang <wei.wang2@amd.com>
Mon, 18 Apr 2011 16:24:21 +0000 (17:24 +0100)
commit95966a869e10d91955c4c2ce15845cf8c5e05740
treeec7c9e8cd515ca95ac51b5e2922c53b49792eed2
parentffb56093e5a4dd989ded825fc01a26ee643a0364
x86/mm: Add a generic interface for vtd and amd iommu p2m sharing.
Also introduce a new parameter (iommu=sharept) to enable this feature.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
Acked-by: Tim Deegan <Tim.Deegan@citrix.com>
Committed-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/p2m.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/iommu.h